MPHB\Core\CoreAPI A

Total Complexity 51
Dependencies 8
Dependents 1
Total lines 396
Lines of code 212
Logical lines of code 108
Comment lines 67
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
getCachedData()
A
51 8 28
setCachedData()
S
51 6 29
getRoomTypeAvailabilityData()
S
60 4 12
isBookedDate()
S
62 4 10
addClearObjectCacheHooks()
S
52 2 28
getDatesRatesForRoomType()
S
60 3 13
getPrefixedCacheDataId()
S
64 3 10
getBookedDaysForRoomType()
S
64 3 9
getRoomTypeAvailabilityStatus()
S
62 3 10
getFirstAvailableCheckInDate()
S
64 3 9
getAllRoomTypeOriginalIds()
S
61 2 13
getActiveRoomsCountForRoomType()
S
65 2 9
getRoomTypeActiveRates()
S
65 2 9
getBookingRules()
S
71 2 6
getMinRoomTypeBasePriceForDate()
S
79 1 3
__construct()
S
70 1 8
getRoomTypeById()
S
80 1 3
formatPrice()
S
79 1 3